package org.cboard.services;

/**
 * 
 * @author yh
 *
 * @param <T>
 */
public class ServiceStatusWithData<T> extends ServiceStatus {

    public ServiceStatusWithData(Status status, String msg) {
	super(status, msg);
    }

    public T data;

    public T getData() {
	return data;
    }

    public void setData(T data) {
	this.data = data;
    }

    public ServiceStatusWithData<T> data(T data) {
	setData(data);
	return this;
    }
}
